Page({

  data: {
    house_id:'',
    house:null,
    list:[],
  },

  
  onLoad(options) {
    this.setData({
      house_id:options.aunt_id
    })
    this.credit()
  },

  credit(){
    getApp().globalData.posts('/index.php/api/app/user/sorting/ouyoung_api/credit',{
      house_id:this.data.house_id
    }).then(res=>{
      this.setData({
        ...res.data.data
      })
    })
  },
  
})